/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：碳汇数据
 * @Date：Create by 2023-12-01 10:45:08
 */
const popConfig = {
  'carbon-sink-data': {
    'carbon-sink-data-add': {
      popTitle: '新增碳汇数据',
      popType: 'OperateCarbonSinkData',
      visible: true,
      popConfig: {
        width: '30%',
        destroy: true,
        popType: 'add'
      }
    },
    'carbon-sink-data-edit': {
      popTitle: '编辑碳汇数据',
      popType: 'OperateCarbonSinkData',
      visible: true,
      popConfig: {
        width: '30%',
        destroy: true
      }
    },
    'carbon-sink-data-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的配置信息？',
      splitProp: ['solidifyDate', 'projectName', 'typeName'],
      paramsProp: { id: 'id' },
      path: 'carbonSinkData.deleteById'
    },
    'carbon-sink-data-import': {
      popTitle: '导入',
      popType: 'AddFile',
      visible: true,
      popConfig: {
        width: '50%',
        hideFooterBtn: true,
        // 上传接口
        upLoadPath: '/energy-carbon/ecp-admin/carbonSinkData/upload',
        // 模板下载参数
        tplName: 'carbonSinkDataRenderer'
      }
    },
    'carbon-sink-data-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX的碳汇数据？',
      splitProp: ['solidifyDate', 'projectName', 'typeName'],
      paramsProp: { ids: 'id' },
      path: 'carbonSinkData.batchDelete'
    }
  }
}

export default {}
export { popConfig }
